﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainManager.master" AutoEventWireup="true" CodeFile="PageChiTietCanBo.aspx.cs" Inherits="CanBo_PageChiTietCanBo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="UpdatePanle1" runat="server">
        <ContentTemplate>

            <div class="row-fluid">
                <div class="span12" id="divMsg" runat="server" visible="false">
                    <div class="alert" id="divAlert" runat="server"></div>
                </div>
            </div>
            <div class="row-fluid">

                <div class="span12">
                    <h3>Xem thông tin cán bộ:
                <asp:Label ID="lblName" runat="server"></asp:Label>

                       
                    </h3>
                     
                    <div class="row-fluid">
                        <div class="span6">
                            <fieldset>
                                <legend>Thông tin cá nhân <a href="AddEditCanBo.aspx?ID=<%=Request.QueryString["ID"] %>" class="btn btn-link"><i class="icon-edit"></i>Sửa</a>
                                    <a href="PageLyLichCanBo.aspx?ID=<%=Request.QueryString["ID"] %>" class="btn btn-link">In lý lịch</a>
                                      <a href="PageCapNhatQuaTrinhDTCanBo.aspx?ID=<%=Request.QueryString["ID"] %>" class="btn btn-link">Cập nhật Quá trình Đào tạo</a>
                                </legend>
                                <div class="form-horizontal">
                                    <div class="control-group">
                                        <label class="control-label">Họ và tên</label>
                                        <div class="controls">
                                            <asp:Label ID="lblHoTenCanBo" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Giới tính</label>
                                        <div class="controls">
                                            <asp:Label ID="lblGioiTinh" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <label class="control-label">Ngày sinh</label>
                                        <div class="controls">
                                            <asp:Label ID="lblNgaySinh" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Quê quán</label>
                                        <div class="controls">
                                            <asp:Label ID="lblQueQuan" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <label class="control-label">Số CMND</label>
                                        <div class="controls">
                                            <asp:Label ID="lblSoCMND" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <label class="control-label">Số điện thoại</label>
                                        <div class="controls">
                                            <asp:Label ID="lblSoDienThoai" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <label class="control-label">Nơi ở hiện tại</label>
                                        <div class="controls">
                                            <asp:Label ID="lblNoiOHienTai" runat="server"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Trình độ</label>
                                        <div class="controls">
                                            <asp:Label ID="lblTrinhDo" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Dân tộc</label>
                                        <div class="controls">
                                            <asp:Label ID="lblDanToc" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <label class="control-label">Tôn giáo</label>
                                        <div class="controls">
                                            <asp:Label ID="lblTonGiao" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <label class="control-label">Quá trình đào tạo</label>
                                        <div class="controls">
                                            <asp:Label ID="lblQuaTrinhDaoTao" runat="server"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <label class="control-label">Hình đại diện</label>
                                        <div class="controls">
                                            <img src="/Images/iconuser.png" id="imgthumb" runat="server" width="160" />

                                        </div>
                                    </div>

                                </div>
                            </fieldset>
                        </div>
                        <div class="span6">
                            <fieldset>
                                <legend>Thông tin cán bộ</legend>
                                <div class="form-horizontal">


                                    <div class="control-group">
                                        <label class="control-label">Loại cán bộ</label>
                                        <div class="controls">
                                            <asp:Label ID="lblLoaiCanBo" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Đơn vị</label>
                                        <div class="controls">
                                            <asp:Label ID="lblDonVi" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Chức vụ</label>
                                        <div class="controls">
                                            Chức vụ hiện tại
                                            <ul>
                                                <asp:Repeater ID="rptChucVu" runat="server">
                                                    <ItemTemplate>
                                                        <li><%#Eval("TenChucVu") %> <a href="#" id="achucvu_<%#Eval("ID") %>" title="Xóa" onclick="return deleteCanBoChucVu(<%=ID %>,<%#Eval("ID") %>)"><i class="icon-remove"></i></a></li>
                                                    </ItemTemplate>
                                                </asp:Repeater>

                                            </ul>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Bằng cấp</label>
                                        <div class="controls">
                                            <asp:Label ID="lblBangCap" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <label class="control-label">Mã ngạch</label>
                                        <div class="controls">
                                            <asp:Label ID="lblMaNgach" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                      <div class="control-group">
                                        <label class="control-label">Ngày vào đảng</label>
                                        <div class="controls">
                                            <asp:Label ID="lblNgayVaoDang" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Hệ số lương</label>
                                        <div class="controls">
                                            <asp:Label ID="lblHeSoLuong" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Tiền bảo hiểm</label>
                                        <div class="controls">
                                            <asp:Label ID="lblTienBaoHiem" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">Phụ cấp</label>
                                        <div class="controls">
                                            <asp:Label ID="lblTienPhuCap" runat="server" CssClass="badge"></asp:Label>
                                        </div>
                                    </div>

                                     

                                     <div class="control-group">
                                        <label class="control-label">Khen thưởng</label>
                                        <div class="controls">
                                            <a href="#myModalKhenThuong" class="btn btn-success" data-toggle="modal">Áp dụng khen thưởng</a>
                                            <br />
                                            Danh sách khen thưởng
                                            <ul>
                                                <asp:Repeater ID="rptKhenThuong" runat="server">
                                                    <ItemTemplate>
                                                          <li><%#Eval("MucKhenThuong") %> <a href="#" id="akhenthuong_<%#Eval("ID") %>" title="Xóa" onclick="return deleteCanBoKhenThuong(<%=ID %>,<%#Eval("ID") %>)"><i class="icon-remove"></i></a></li>
                                                    </ItemTemplate>
                                                </asp:Repeater>

                                            </ul>
                                        </div>
                                    </div>
                                      <div class="control-group">
                                        <label class="control-label">Kỷ luật</label>
                                        <div class="controls">
                                            <a href="#myModalKyLuat" class="btn btn-danger" data-toggle="modal">Áp dụng kỷ luật</a>
                                            <br />
                                            Danh sách kỷ luật
                                            <ul>
                                                <asp:Repeater ID="rptKyLuat" runat="server">
                                                    <ItemTemplate>
                                                        <li><%#Eval("MucKiLuat") %> <a href="#" id="akyluat_<%#Eval("ID") %>" title="Xóa" onclick="return deleteCanBoKyLuat(<%=ID %>,<%#Eval("ID") %>)"><i class="icon-remove"></i></a></li>
                                                    </ItemTemplate>
                                                </asp:Repeater>

                                            </ul>
                                        </div>
                                    </div>

                                     <div class="control-group">
                                        <label class="control-label">Tăng lương</label>
                                        <div class="controls">
                                            <a href="#myModalTangLuong" class="btn btn-info" data-toggle="modal">Áp dụng tăng lương</a>
                                            <br />
                                            Danh sách được tăng lương
                                            <ul>
                                                <asp:Repeater ID="rptCanBoTangLuong" runat="server">
                                                    <ItemTemplate>
                                                        <li><%#Eval("PhanLoai") %> </li>
                                                    </ItemTemplate>
                                                </asp:Repeater>

                                            </ul>
                                        </div>
                                    </div>
                                    

                                    
                                </div>
                            </fieldset>
                        </div>
                    </div>
                </div>
            </div>


            <div id="myModalKhenThuong" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h3 id="myModalLabel">Thêm mới Khen thưởng</h3>
                </div>
                <div class="modal-body">
                    <label>Chọn khen thưởng</label>
                    <asp:DropDownList ID="ddlKhenThuong" runat="server"></asp:DropDownList>

                    <label>Mô tả</label>
                    <asp:TextBox ID="txtMoTaKhenThuong" runat="server" CssClass="input input-xxlarge" TextMode="MultiLine"></asp:TextBox>

                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">Hủy</button>
                    <button class="btn btn-primary" id="btnAddKhenThuong" runat="server" onserverclick="btnAddKhenThuong_ServerClick">Lưu</button>
                </div>
            </div>


            <div id="myModalKyLuat" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalKyLuatLabel" aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h3 id="myModalKyLuatLabel">Thêm mới Kỷ luật</h3>
                </div>
                <div class="modal-body">
                    <label>Chọn mức Kỷ luật</label>
                    <asp:DropDownList ID="ddlKyLuat" runat="server"></asp:DropDownList>

                    <label>Mô tả</label>
                    <asp:TextBox ID="txtMoTaKyLuat" runat="server" CssClass="input input-xxlarge" TextMode="MultiLine"></asp:TextBox>

                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">Hủy</button>
                    <button class="btn btn-primary" id="btnAddKyLuat" runat="server" onserverclick="btnAddKyLuat_ServerClick">Lưu</button>
                </div>
            </div>

            <div id="myModalTangLuong" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalTangLuongLabel" aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h3 id="H1">Thêm mới Tăng Lương</h3>
                </div>
                <div class="modal-body">
                     <label>Quá trình tăng lương</label>
                    <asp:DropDownList ID="ddlQuaTrinhTangLuong" runat="server"></asp:DropDownList>

                    <label>Bậc</label>
                    <asp:TextBox ID="txtBacTangLuong" runat="server" CssClass="input input-xxlarge"></asp:TextBox>

                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">Hủy</button>
                    <button class="btn btn-primary" id="btnAddTangLuong" runat="server" onserverclick="btnAddTangLuong_ServerClick">Lưu</button>
                </div>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

